/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.gui.rendering.constants;

import net.groupme.gui.rendering.Renderer;

/**
 * created on Jun 29, 2007
 * 
 * Constants for the rendering stuff. For example: bean IDs of specific 
 * {@link Renderer} implementations..
 * 
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: patrick $
 * 
 * @version $Revision: 1.11 $ $Date: 2008-11-17 16:17:24 $
 */
public class RENDERING_CONSTANTS {

	/* BEAN NAMES WITHIN APPLICATION CONTEXT (WebContent/WEB-INF/groupme-servlet.xml) */
	
	/** ID of the default renderer */
	public static final String RENDERER_DEFAULT = "defaultRenderer";
	
	/** ID of renderer which renders image resources */
	public static final String RENDERER_IMAGE = "imageRenderer";
	
	/** ID of renderer which renders shockwave resources */
	public static final String RENDERER_SHOCKWAVE = "shockwaveRenderer";
	
	/** ID of renderer which renders shockwave resources */
	public static final String RENDERER_VIDEO = "videoRenderer";
	
	/** ID of rendere which renders RSS resources*/
	public static final String RENDERER_RSS = "rssRenderer";
	
	/** ID of rederer which renders GroupMe groups as resources */
	public static final String RENDERER_GROUP = "groupRenderer";
	
	/** the standard width of resource visualizations within the GroupMe! area */
	public static final int STANDARD_WIDTH_OF_RESOURCE_VISUALIZATIONS = 100;
	
	/** maximum size (in em) of tag (e.g. in a tag cloud) */
	public static final Double TAG_SIZE_MAXIMUM = 2.0;
	
	/** minimum size (in em) of tag (e.g. in a tag cloud) */
	public static final Double TAG_SIZE_MINIMUM = 0.8;
	
	/** relative path of the Ajax loading image (e.g. /images/ajax-loader.gif) */
	public static final String RELATIVE_PATH_OF_AJAX_LOADING_IMAGE = "/images/ajax-loader.gif";
	
	/** relative path of webpage thumbnails */
	public static final String RELATIVE_PATH_OF_WEB_THUMBS = "/webthumbs/";

}
